package com.phone;

import com.phone.handle.UserHandle;
import org.hibernate.Session;

import java.util.Random;

/**
 * Package name com.phone
 * Created by tisen
 * On 2017/7/26. in 12:39
 */
public class SMSCode {private static final int MAX_CODE = 3999;
    private static Random random = new Random();

    public static String getSMSCode(){
        String code = Integer.toString(random.nextInt(MAX_CODE)+2000);
        return code;
    }
}
